package com.linkhub.oms.admin.modules.invoice.domain.param;

import com.linkhub.oms.admin.modules.user.domain.param.BaseUserParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description InvoiceQueryParam.java
 * @createTime 2024/04/29 22:36
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "InvoiceQueryParam", description = "InvoiceQueryParam")
public class InvoiceGenerateParam extends BaseUserParam implements Serializable {
    @ApiModelProperty(value = "商家用户ID", required = true)
    @NotNull
    private String merchantUserId;

    @ApiModelProperty(value = "账单ID")
    @NotNull(message = "{validation.invoice.id.notNull}")
    private String invoiceId;
}
